package com.iv.durian.cloud.api.service;

import com.iv.durian.cloud.StudentLession;
import com.iv.durian.cloud.facade.StudentLessonFacade;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentLessonService {

    @Autowired
    private StudentLessonFacade studentLessonFacade;

    public StudentLession get(Integer studentLessionId){ return studentLessonFacade.get(studentLessionId); }

    public void add(StudentLession studentLession){ studentLessonFacade.add(studentLession); }

    public void updateStatust(StudentLession studentLession){ studentLessonFacade.updateStatust(studentLession); }

    public void update(StudentLession studentLession){ studentLessonFacade.update(studentLession); }

    public int remove(Integer id){ return studentLessonFacade.remove(id); }
}
